import request from '@/utils/request';

// 用户登录操作
export const doLoginApi = (data: any) => {
  return request.post('/login/doLogin', data);
};

// 获取当前接口的权限
export const queryRolePowerApi = () => {
  return request.get('/login/queryRolePower');
};

// 退出登录
export const loginOutApi = () => request.post('/login/loginOut');
